package com.asteros.crypto.utils.common;

public final class Constants_old
{
  public static final String RUTOKEN_DEFAULT_PASSWORD = "12345678";
  public static final String ETOKEN_DEFAULT_PASSWORD = "Q1w2e3r4";
  public static final String USER_CERTIFICATE_ATTR = "userCertificate";
  public static final String REVOCATION_LIST_ATTR = "certificateRevocationList";
  public static final String X509 = "X.509";
  public static final String SIGN_KEY_PAIR_ALG = "GOST3410";
  public static final String EXCH_KEY_PAIR_ALG = "GOST3410DH";
  public static final String CF_ALG = "X509";
  public static final String CHIPHER_ALG = "GOST28147";
  public static final String DIGEST_ALG = "GOST3411";
  public static final String SIGN_EL_ALG = "GOST3411withGOST3410EL";
  public static final String SIGN_CP_ALG = "CryptoProSignature";
  public static final String RANDOM_ALG = "CPRandom";
  public static final String HD_TYPE = "HDImageStore";
  public static final String FLOPPYSTORE_TYPE = "FloppyStore";
  public static final String RUTOKENSTORE_TYPE = "RutokenStore";
  public static final String OCFSTORE_TYPE = "OCFStore";

  public static String toHexString(byte[] array)
  {
    char[] hex = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };

    StringBuffer ss = new StringBuffer(array.length * 3);
    for (int i = 0; i < array.length; i++) {
      ss.append(' ');
      ss.append(hex[(array[i] >>> 4 & 0xF)]);
      ss.append(hex[(array[i] & 0xF)]);
    }
    return ss.toString();
  }
}

/* Location:           C:\Users\Kirill\Desktop\esign\esign\esign.jar
 * Qualified Name:     com.topsbi.crypto.Constants
 * JD-Core Version:    0.6.0
 */